home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / h / ap_lex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-18  |  2.6 KB  |  55 lines

  1. /* ap_lex.h: lexical symbols for address parser */
  2.  
  3. /*
  4.  * @(#) $Header: /xtel/pp/pp-beta/h/RCS/ap_lex.h,v 6.0 1991/12/18 20:42:44 jpo Rel $
  5.  *
  6.  * $Log: ap_lex.h,v $
  7.  * Revision 6.0  1991/12/18  20:42:44  jpo
  8.  * Release 6.0
  9.  *
  10.  *
  11.  */
  12.  
  13.  
  14.  
  15. #ifndef _H_AP_LEX
  16. #define _H_AP_LEX
  17.  
  18.  
  19. #define LT_EOL          0         /* New-Line                             */
  20. #define LT_SPC          0         /* Space and tab                        */
  21. #define LT_ERR          1         /* Illegal chars (control chars)        */
  22. #define LT_EOD          2         /* End of Data (null)                   */
  23. #define LT_COM          3         /* ,                                    */
  24. #define LT_AT           4         /* @                                    */
  25. #define LT_COL          5         /* :                                    */
  26. #define LT_SEM          6         /* ;                                    */
  27. #define LT_LES          7         /* <                                    */
  28. #define LT_GTR          8         /* >                                    */
  29. #define LT_SQT          9         /* \ (only in quoted strings)           */
  30. #define LT_LTR         10         /* alphabetics, numbers, and others     */
  31. #define LT_XTR         10         /* alphabetics, numbers, and others     */
  32. #define LT_NUM         10         /* alphabetics, numbers, and others     */
  33. #define LT_LPR         11         /* (                                    */
  34. #define LT_RPR         12         /* )                                    */
  35. #define LT_QOT         13         /* "                                    */
  36. #define LT_LSQ         14         /* [                                    */
  37. #define LT_RSQ         15         /* ]                                    */
  38.  
  39.  
  40. #define LV_EOD          0         /* End of Data                          */
  41. #define LV_ERROR        1         /* These Values go with the above Types */
  42. #define LV_COMMA        2         /* ,                                    */
  43. #define LV_AT           3         /* @                                    */
  44. #define LV_COLON        4         /* :                                    */
  45. #define LV_SEMI         5         /* ;                                    */
  46. #define LV_COMMENT      6         /* (text text text)                     */
  47. #define LV_LESS         7         /* <                                    */
  48. #define LV_GRTR         8         /* >                                    */
  49. #define LV_WORD         9         /* atom / string                        */
  50. #define LV_FROM        10         /* <<                                   */
  51. #define LV_DLIT        11         /* [text text text]                     */
  52.  
  53.  
  54. #endif
  55.